package agend.client.gui.panels.settings;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

import javax.swing.BorderFactory;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.BevelBorder;
import javax.swing.border.LineBorder;

import agend.client.gui.panels.appointment.SxAppointmentPanel;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class PanelFasciaOraria extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JLabel labelDa;
	private JComboBox comboDisponibilitaDa;
	private JComboBox comboDisponibilitaA;
	private JLabel labelA;

	public PanelFasciaOraria() {
		// TODO Auto-generated constructor stub
		super();
		initGUI();
		this.setPreferredSize(new java.awt.Dimension(373, 58));
		this.setVisible(true);
		addListener();
	}
	
	private void addListener(){
		 
		
		
	}
	
	
	private void initGUI() {
		try {
			{
				GridBagLayout thisLayout = new GridBagLayout();
				this.setPreferredSize(new java.awt.Dimension(431, 44));
				thisLayout.rowWeights = new double[] {0.0, 0.1, 0.0};
				thisLayout.rowHeights = new int[] {7, 7, 7};
				thisLayout.columnWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
				thisLayout.columnWidths = new int[] {7, 7, 100, 58, 7, 100, 7};
				this.setLayout(thisLayout);
				this.setBorder(new LineBorder(new java.awt.Color(0,0,0), 1, false));
				{
					labelDa = new JLabel();
					this.add(labelDa, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					labelDa.setText("Da");
					labelDa.setFont(new java.awt.Font("Segoe UI",1,12));
				}
				{
					
					comboDisponibilitaDa = new JComboBox();
					this.add(comboDisponibilitaDa, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
					comboDisponibilitaDa.setModel(new DefaultComboBoxModel(SxAppointmentPanel.HOURS_MIN));
					comboDisponibilitaDa.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
					
				}
				{
					labelA = new JLabel();
					this.add(labelA, new GridBagConstraints(3, 1, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					labelA.setText("A");
					labelA.setFont(new java.awt.Font("Segoe UI",1,12));
				}
				{
					comboDisponibilitaA = new JComboBox();
					this.add(comboDisponibilitaA, new GridBagConstraints(5, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
					comboDisponibilitaA.setModel(new DefaultComboBoxModel(SxAppointmentPanel.HOURS_MIN));
					comboDisponibilitaA.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
					
				}
			}
		} catch(Exception e) {
			e.printStackTrace();
		}
	}

	public JComboBox getComboDisponibilitaDa() {
		return comboDisponibilitaDa;
	}

	public JComboBox getComboDisponibilitaA() {
		return comboDisponibilitaA;
	}
	
	
}
